package text19090923;

import java.util.Scanner;

public class text19092303 {
	public static void main(String[] arge) {
		Scanner in = new Scanner(System.in);
		int a,b;
		a = Scanner.nextInt();
		double x;
		b = a * (1001);
		x = b/7/11/13;
		System.out.println(x);
	}

}
